package com.wjk.easy.db;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

public class LastUserBean extends LitePalSupport {
    @Column(unique = true, defaultValue = "unknown",nullable = false)
    private String username;
    @Column(nullable = false)
    private int userId;

    public LastUserBean(String username, int id) {
        this.username = username;
        this.userId = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
